import chess.*;
import xml.*;

public class Program {

	public static void main(String[] args) {
		System.out.println("generating pieces");
		Piece[] pieces = ChessGenerator.generatePieces();
		
		System.out.println("writing pieces to chessboard.xml");
		ChessWriter.write("chessboard.xml", pieces);
		
		System.out.println("reading pieces from chessboard.xml");
		Piece[] yetanothersetofchesspieces = ChessReader.read("chessboard.xml");
	}

}